@charset "UTF-8";
@import "var.less";

button,input,textarea:focus {
    outline: none;
}
a {
    text-decoration: none;
    transition: color .3s;
    &:hover,
    &:focus {
        text-decoration: none;
    }
}
ul {
    padding: 0;
    margin: 0;
    li {
    list-style-type: none;
    }
}
em {
    font-style: normal;
}
input{
    // -webkit-appearance:none;
    outline:none
}
.btn-radius {
    border-radius: 100px;
    // border: none;
}
.btn-line {
    color: @theme-base-color;
    background-color: #fff;
    border: 1px solid @theme-base-color;
    &:hover, &:focus {
        color: @theme-base-color;
    }
}
.removeiOS {
    -webkit-appearance: none; 
}
.input-default {
    padding-left: 40px;    
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #fff;
    opacity: 0.6;
}
.sm-icon {
    position: absolute;
    top: 50%;
    margin-top: -7px;
    margin-left: 12px;
    width: 14px;
    height: 14px;
    background-image: url(../img/input-icon.png);
    background-repeat: no-repeat;
    background-size: auto 14px;
}
.icon-user {
    background-position: -14px 0;
}
.icon-pwd {
    background-position: 0 0;
}
.code-form-group {
    position: relative;
    button {
        position: absolute;
        right: 15px;
        top: 2px;
        padding-top: 5px;
        padding-bottom: 5px;
        min-width: 86px;
        font-size: 12px;
        color: @theme-font-sec-color;
        border-color: @theme-font-sec-color;
        &:hover, &:focus {
            color: @theme-font-sec-color;
        }
    }
}
.modal-user {
    .modal-content {
        box-shadow: 0 5px 10px rgba(0,0,0,.1);
        border-radius: 6px;
    }
    .modal-dialog {
        width: 85%;
        @media (min-width: @screen-sm) {
            width: 300px;
        }
    }
    .modal-header {
        position: relative;
        padding-top: 26px;
        background-color: @theme-base-color;
        background-image: url(../img/user-header-bg.jpg);
        background-size: 100% auto;
        border-bottom: none;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }
    .modal-footer {
        border-top: none;
    }
    .user-logo-bg {
        position: absolute;
        top: -48px;
        right: 50%;
        padding-top: 4px;
        margin-right: -51px;
        width: 102px;
        height: 102px;
        text-align: center;
        background-color: @theme-base-color;
        background-image: url(../img/user-header-bg.jpg);
        background-size: 300px auto;
        background-position: center bottom;
        border-radius: 100px;
        z-index: -1;
    }
    .user-logo {
        position: absolute;
        top: -42px;
        right: 50%;
        margin-right: -32px;
        width: 64px;
        z-index: 1;
    }
    .close {
        position: absolute;
        top: -30px;
        right: -21px;
        width: 28px;
        height: 28px;
        opacity: .9;
        color: #fff;
        text-shadow: none;
        border-radius: 100px;
        background-color: #aaa;
    }
    
    .tips {
        text-align: right;
        font-size: 12px;
    }
}
.user-oauth {
    position: relative;
    margin: 0 auto;
    padding-top: 20px;
    width: 80%;
    text-align: center;
    border-top: 1px solid @theme-line-color;
    span {
        position: absolute;
        top: -12px;
        left: 50%;
        margin-left: -65px;
        width: 130px;
        color: #797979;
        text-align: center;
        background-color: #fff;
    }
}
.user-wxlogin {
    display: inline-block;
    width: 38px;
    height: 38px;
    background-image: url(../img/wechat-icon.png);
    background-size: contain;
}
.reg-tips {
    color: @theme-font-sec-color;
    font-size: 12px;
    text-align: center;
}
#modal-user{
    .nav {
        text-align: center;
        font-size: 15px;
        li {
            position: relative;
            margin: 0;
            width: 50%;
            &:nth-child(1) {
                border-right: 1px solid #fff;
            }
            &.active {
                a {
                    background-color: transparent;
                }
                &:after {
                    position: absolute;
                    left: 50%;
                    bottom: -16px;
                    margin-left: -8px;
                    content: '';
                    width: 0px;
                    height: 0px;
                    border: 8px solid transparent;
                    border-bottom: 8px solid #fff;
                }
            }
            a {
                color: #fff;
                &:hover, &:focus {
                    color: #fff;
                    background-color: transparent;
                }
            }
        }
    }
}
.reg-sec-mod {
    display: none;
}
#modal-findpwd {
    .nav {
        text-align: center;
        li {
            float: none;
            color: #fff;
            &.active:after {
                position: absolute;
                left: 50%;
                bottom: -16px;
                margin-left: -8px;
                content: '';
                width: 0px;
                height: 0px;
                border: 8px solid transparent;
                border-bottom: 8px solid #fff;
            }
        }
    }
    .modal-body {
        min-height: 260px;
    }
}